package com.banmoon.command;

/**
 * 军队
 */
public class Army {

    private String name;

    public Army(String name) {
        this.name = name;
    }

    public void advance(){
        System.out.println(this.name + "正在向前方冲锋");
    }

    public void retreat(){
        System.out.println(this.name + "正在有序撤退");
    }

}
